package com.mashibing.apidriver.service.impl;

import com.mashibing.apidriver.feign.ServiceDriverUserFeign;
import com.mashibing.apidriver.service.UserService;
import com.mashibing.internalcommon.dto.DriverUser;
import com.mashibing.internalcommon.dto.ResponseResult;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @title: UserServiceImpl
 * @Author Z先森
 * @Date: 2022/9/28 11:14
 * @Version 1.0
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private ServiceDriverUserFeign serviceDriverUserFeign;

    @Override
    public ResponseResult updateUser(DriverUser driverUser) {
        return serviceDriverUserFeign.updateUser(driverUser);
    }
}
